package com.project.bean;

/**
 * 用户实体类
 */
public class UserBean {
    /**用户id*/
    private int id;
    /**用户名*/
    private String userCode;
    /**密码*/
    private String userPwd = "666";
    /**电话*/
    private String tel;
    /**真实姓名*/
    private String userRealName;
    /**用户等级*/
    private String userGarde;
    /**头像*/
    private String userImg;
    /**用户的店铺*/
    private StoreBean store;
    /**用户邮箱*/
    private String email;
    /**用户的收获地址*/
    private String userAddress;
    /**用户昵称*/
    private String userName;

    public UserBean() {
    }

    /**门店管理员构造方法*/
    public UserBean(String userCode, String tel, String userRealName, String userImg, String email) {
        this.userCode = userCode;
        this.tel = tel;
        this.userRealName = userRealName;
        this.userImg = userImg;
        this.email = email;
    }
    /**宠物主构造方法*/
    public UserBean(String userCode, String tel, String userImg, String userName) {
        this.userCode = userCode;
        this.tel = tel;
        this.userImg = userImg;
        this.userName = userName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUserRealName() {
        return userRealName;
    }

    public void setUserRealName(String userRealName) {
        this.userRealName = userRealName;
    }

    public String getUserGarde() {
        return userGarde;
    }

    public void setUserGarde(String userGarde) {
        this.userGarde = userGarde;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public StoreBean getStore() {
        return store;
    }

    public void setStore(StoreBean store) {
        this.store = store;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", userCode='" + userCode + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", tel='" + tel + '\'' +
                ", userRealName='" + userRealName + '\'' +
                ", userGarde='" + userGarde + '\'' +
                ", userImg='" + userImg + '\'' +
                ", store=" + store +
                ", email='" + email + '\'' +
                ", userAddress='" + userAddress + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
